﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WsdShop.Model
{
    /// <summary>
    /// 一分钱活动团表
    /// </summary>
    public class ActivityTeam
    {
        /// <summary>
        /// 一分钱活动团表Id  
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 一分钱活动表Id
        /// </summary>
        public int ActivityId { get; set; }
        /// <summary>
        /// 团编号 （自动生成,格式:yyMMdd+流水号）  
        /// </summary>
        public string TeamNo { get; set; }
        /// <summary>
        ///  团状态  组团中 = 1,组团成功 = 2 , 组团失败=3,已退款4
        /// </summary>
        public int TeamStatus { get; set; }
        /// <summary>
        /// 团长Id  
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        private bool isDeleted = false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return isDeleted; } set { isDeleted = value; } }
        /// <summary>
        /// 团持续时间（小时）
        /// </summary>
        public int ContinuedTime { get; set; }
     
        /// <summary>
        /// 团长姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 团长头像
        /// </summary>
        public string UserHeadImg { get; set; }
        /// <summary>
        /// 可参与人数
        /// </summary>
        public int ParticipateNum { get; set; }
        /// <summary>
        /// 活动价格
        /// </summary>
        public decimal ActivityPrice { get; set; }
        /// <summary>
        /// 活动名称
        /// </summary>
        public string ActivityName { get; set; }
        /// <summary>
        /// 已参与人数
        /// </summary>
        public int NowParticipateNum { get; set; }


        public DateTime EndTime { get; set; }
    }
}
